<%--
  Created by IntelliJ IDEA.
  edu.sctu.User: Administrator
  Date: 2018/5/15
  Time: 15:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<p>1</p>
<p>2</p>
<p>...</p>
<p>100</p>

<%
    for (int i = 1; i <= 100;i++){
        out.write("<p>"+i+"<p>");
    }

%>

<h1>jstl实现</h1>
<c:forEach var="i" begin="1" end="100">
    <p>${i}</p>
</c:forEach>
</body>
</html>
